package com.hy.mvc.domain.export;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <pre>
 *    author  : Booker
 *    time    : 2017/12/19 15:55
 *    desc    : 统计员工餐补导出excel文件
 *
 *    version : v1.0
 * </pre>
 */
public class UserStatic {

    //工号
    private String employeeId;

    //名字
    private String userName;

    //包含的数字,号隔开日期
    private List<String> dateLists;

    //单价
    private Integer singlePrice;

    private Boolean ignoreWeekDay = true;


    //总共餐补
    private Integer totalPrice;

    //开始日期
    private Date beginDate;

    //结束日期
    private Date endDate;

    //排除的日期
    private List<Date> excludeDate;

    //备注
    private String memo;

    //次数
    private Integer times;

    public UserStatic() {
    }

    public UserStatic(String employeeId, String userName, List<String> dateLists, Integer singlePrice, Integer totalPrice, Date beginDate, Date endDate, List<Date> excludeDate, String memo) {
        this.employeeId = employeeId;
        this.userName = userName;
        this.dateLists = dateLists;
        this.singlePrice = singlePrice;
        this.totalPrice = totalPrice;
        this.beginDate = beginDate;
        this.endDate = endDate;
        this.excludeDate = excludeDate;
        this.memo = memo;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public Boolean getIgnoreWeekDay() {
        return ignoreWeekDay;
    }

    public void setIgnoreWeekDay(Boolean ignoreWeekDay) {
        this.ignoreWeekDay = ignoreWeekDay;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public List<String> getDateLists() {
        return dateLists;
    }

    public void setDateLists(List<String> dateLists) {
        if (dateLists == null) {
            dateLists = new ArrayList<>();
        }
        this.dateLists = dateLists;
    }

    public Integer getSinglePrice() {
        return singlePrice;
    }

    public void setSinglePrice(Integer singlePrice) {
        this.singlePrice = singlePrice;
    }

    public Integer getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Integer totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public List<Date> getExcludeDate() {
        return excludeDate;
    }

    public void setExcludeDate(List<Date> excludeDate) {
        if (excludeDate == null) {
            this.excludeDate = new ArrayList<>();
        }
        this.excludeDate = excludeDate;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getTimes() {
        return dateLists.size();
    }

    public void setTimes(Integer times) {
        this.times = times;
    }
}
